<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>麦研品牌策划(上海)有限公司CISALL|上海设计公司|上海画册设计公司,商标设计公司,上海VI设计公司,上海著名的电子杂志、电子书设计公司,企业宣传册设计，麦研品牌策划公司,上海知名设计公司</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
    <meta name="keywords" content="CISALL上海广告设计公司,上海标志设计,上海包装设计公司,上海网站设计公司，上海电子杂志设计公司，上海vi设计公司">
    <meta name="description" content="麦研品牌策划（上海）公司广告设计为全国公司提供高质量上海广告设计公司服务,上海标志设计,上海包装设计公司,专业的广告设计公司服务,上海广告设计公司有10余年设计经验的团队。">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/cisall.css">
</head>
<body>
<!--[if lte IE 8]>
<div class="text-center p-5 m-5">
    <p class="f20">
        你正在使用一个<strong>过时</strong>的浏览器。请<a href="http://browsehappy.com/" target="_blank">升级您的浏览器</a>，以提高您的体验。
    </p>
</div>
<![endif]-->

<div class="fullscreen">
  <div class="wildcard">
    <div class="cis-user-modal">
            <div class="wrapper">
                <div class="user-header">
                    <i class="iconcis icon-write"></i>
                    找回密码
                    <i class="iconcis icon-close float-right"></i>
                </div>
                <div class="user-body">
                    <div style="text-align:center;height:20px;line-height: 0px;">
                    <a class="error" style="color:red;"></a>
                    </div>
                    <form>
                        <div class="input-group mb-3">
                            <div class="input-group-prepend">
                                <span class="input-group-text"><i class="iconcis icon-user"></i></span>
                            </div>
                            <input type="text" class="form-control" name="username" placeholder="请输入注册邮箱/手机号">
                        </div>
                        <div class="input-group mb-3">
                            <div class="input-group-prepend">
                                <span class="input-group-text"><i class="iconcis icon-user"></i></span>
                            </div>
                            <input type="text" class="form-control mr-2" name="captcha" placeholder="请输入验证码">
                            <button type="button" class="btn btn-light" onclick="checkVerCode()">获取验证码</button>
                        </div>
                        <div class="input-group mb-3">
                            <div class="input-group-prepend">
                                <span class="input-group-text"><i class="iconcis icon-user"></i></span>
                            </div>
                            <input type="text" class="form-control" name="password" placeholder="请输入新密码">
                        </div>
                        <div class="input-group mb-3">
                            <div class="input-group-prepend">
                                <span class="input-group-text"><i class="iconcis icon-user"></i></span>
                            </div>
                            <input type="text" class="form-control" name="password1" placeholder="请再次输入密码">
                        </div>

                        <button type="submit" class="btn btn-danger btn-lg btn-block mb-3" onclick="find_password()">立即注册</button>
                        <p class="text-right white"><a class="white" href="login.html">返回登录</a> | <a class="white" href="register.html">立即注册</a></p>
                    </form>
                </div>
                <div class="user-footer">
                    ©Copyright 2018. CISALL Team
                </div>
            </div>
        </div>
    </div>
</div>

<script src="__TMPL__/public/assets/js/base.js"></script>
<script src="__TMPL__/public/assets/js/cisall.js"></script>
<script>
function checkVerCode(){
  var url = '/user/verification_code/send';
  var username = $('input[name="username"]').val();
  $.post(url,{username:username},function(data){
    $('.error').text(data.msg);
  })
}
function find_password(){
  var url = '/user/login/passwordReset';
  var username = $('input[name="username"]').val();
  var captcha = $('input[name="captcha"]').val();
  var password = $('input[name="password"]').val();
  var password1 = $('input[name="password1"]').val();
  $.post(url,{username:username,captcha:captcha,password:password,password1:password1},function(data){
    $('.error').text(data.msg);
  })  
}
</script>
</body>
</html>